package org.go.matchers;

import java.io.Serializable;

import org.go.scheduler.Scheduler;
import org.go.util.Key;

/**
 * Matchers can be used in various {@link Scheduler} API methods to 
 * select the entities that should be operated upon.
 *  
 * @author jhouse
 * @since 2.0
 */
public interface Matcher<T extends Key> extends Serializable {

	boolean isMatch(T key);

	@Override
	public boolean equals(Object obj);

	@Override
	public int hashCode();
}
